#pragma once

#include <Windows.h>

class GameTimer
{
public:
	GameTimer();
	~GameTimer();

	void	start();
	void	stop();
	double	getStartTimeInMilliSec();
	double	getElapsedTime();
	double	getElapsedTimeInSec();
	double	getElapsedTimeInMilliSec();
	double	getElapsedTimeInMicroSec();

private:
	double	_startTimeInMicroSec;
	double	_endTimeInMicroSec;
	int		_stopped;

	LARGE_INTEGER frequency;
	LARGE_INTEGER startCount;
	LARGE_INTEGER endCount;
};